//
//  MyControl.h
//  Assignment 3
//
//  Created by nthu on 11/11/16.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Polygons.h"

@interface MyControl : NSObject{
    IBOutlet UISlider *slider;
    IBOutlet UILabel  *number;
    IBOutlet UIButton *angleP;
    IBOutlet UIButton *angleM;
    IBOutlet UILabel *angleNumber;
    IBOutlet QuartzPolygonView *polyView;
    IBOutlet UILabel *chinese;
    IBOutlet UILabel *english;
    int anglenum;
    int strokeSize;
}

@property(nonatomic, retain) QuartzPolygonView *polyView;

-(IBAction) changeNumber :(id)sender ;
-(IBAction) plusAngle:(id)sender;
-(IBAction) minusAngle:(id)sender;
-(void) showName:(int)side;

@end
